export const createModules = (modules = []) => {
  let obj = {}
  for (let item of modules) {
    obj = { ...obj, ...item }
  }
  return obj
}
